body {
    width: 100vw;
}

video {
    display: block;
    width: 100%;
}

.container {
    position: relative;
    margin: 100px auto;
    width: 800px;

    .sp1,
    .sp2{
        z-index: 999;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        display: block;
        width: 60px;
        height: 60px;
        line-height: 60px;
        text-align: center;
        background-color: #fff;
        border-radius: 50%;
        font-size: 30px;
        display: none;
        // color: #fff;
    }
    .control {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 80px;
        // padding: 10px 15px;
        box-sizing: border-box;
        background-color: rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        flex-direction: column;

        .top {
            padding: 5px 15px;
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;

            .left {
                color: #fff;

                span {
                    font-size: 18px;
                    color: #fff;
                    font-family: play;
                }

                .paused,
                .play {
                    margin-right: 8px;
                    cursor: pointer;
                }

                .currentTime {
                    margin: 0 5px;
                }

                .duration {
                    margin: 0 5px;
                }
            }

            .right {
                position: relative;

                .volume {
                    position: absolute;
                    top: -62px;
                    left: 8px;
                    width: 5px;
                    height: 60px;
                    border-radius: 5px;
                    overflow: hidden;
                    transform: rotateX(-180deg);
                    cursor: pointer;
                    background-color: rgba(255, 255, 255, 0.347);

                    .volume_mask {
                        width: 100%;
                        height: 50%;
                        background-color: #f4bbb1;
                    }
                }

                span {
                    position: relative;
                    font-size: 20px;
                    margin-left: 20px;
                    color: #fff;
                }

                .list {
                    position: absolute;
                    top: -143px;
                    right: 0;
                    border-radius: 5px;
                    background-color: rgba(255, 255, 255, 0.139);
                    &:hover{
                        display: block;
                    }
                    ul {
                        li {
                            padding: 5px 5px;
                            text-align: center;
                            // color: #fff;
                            cursor: pointer;
                            transition: all .2s;

                            &:hover {
                                color: #fff;
                            }
                        }

                        .active {
                            color: #fff;
                        }
                    }
                }

            }
        }
    }

    .bottom {
        padding: 0 15px;

        .progress_bar {
            position: relative;
            width: 100%;
            height: 5px;
            background-color: rgba(255, 255, 255, 0.486);
            border-radius: 10px;
            cursor: pointer;

            .bar {
                z-index: 10;
                position: absolute;
                top: 50%;
                left: -2%;
                transform: translateY(-50%);
                cursor: pointer;
                color: #fff;
                font-size: 18px;
                img{
                    width: 50px;
                }
            }

            .mask {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }

            .green {
                position: absolute;
                top: 0;
                left: 0;
                width: 0;
                height: 5px;
                border-radius: 5px;
                background-color: #fff;
                cursor: pointer;
            }
        }
    }
}